package com.weijianhuawen.wjblog.admin.mode.vo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description:
 * @date: 2024-12-16 14:31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "修改手机号模块对象")
public class UpdateCountPhoneReqVo {
    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty("用户名")
    private String username;
    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty("用户名ID")
    private Long userId;;
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("旧手机号码")
    private String phoneNumber;

    @NotBlank(message = "新手机号不能为空")
    @ApiModelProperty("新手机号码")
    private String newPhoneNumber;
}
